 var herbMostPrescription_URL = basePath+'/tra/herbMostPrescription.jsp';//组成的方剂
 var herbMostAvgMeasure_URL = basePath+'/tra/herbMostAvgMeasure.jsp';//平均计量
 var herbMostHC_URL = basePath+'/tra/herbMostHC.jsp';//寒热比较
 var traContentMostPan = new Ext.TabPanel({
        activeTab: 0,
        plain:true,
        renderTo:'traContentMost',
        autoHeight:true,
        tbar:[new Ext.Button({text:'平均计量对比',handler:function(){ 
        		traContentMostLoad(herbMostAvgMeasure_URL,{herIds:herIds});
        	 }}),
        	new Ext.Button({text:'组成的方剂',cls:'',handler:function(){ 
      			traContentMostLoad(herbMostPrescription_URL,{herIds:herIds});
        	
        	 }}),
        	 
        	new Ext.Button({text:'寒热比较',cls:'',handler:function(){ 
      			traContentMostLoad(herbMostHC_URL,{herIds:herIds});
        	
        	 }}),
        	new Ext.Button({text:'清空选择',handler:function(){alert('清空选择');}})
        	],
        	defaults:{autoScroll: true,autoHeight: true},
         autoLoad:{url: herbMostAvgMeasure_URL, params:{herIds:herIds},scripts:true}
		});
		
	function traContentMostLoad(url,p){	
		traContentMostPan.load({
	    url: url,
	    params: p, // or a URL encoded string
	    discardUrl: false,
	    nocache: false,
	    text: "装载...",
	    timeout: 30,
	    scripts: true
		});
	}